package com.hr;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
//启动服务发现，会找到注册中心，将自身注册进去
@EnableDiscoveryClient
public class UiApp {
    public static void main(String[] args) {
        SpringApplication.run(UiApp.class,args);
    }
}